package com.qinggeng.project.system.service;

import com.qinggeng.framework.web.page.PageDomain;
import com.qinggeng.project.system.domain.GoodsLowerClassify;
import com.qinggeng.project.system.domain.vo.GoodsLowerClassifyVO;
import com.qinggeng.project.system.dto.GoodsLowerClassifyDTO;
import org.springframework.stereotype.Service;

import java.util.List;

public interface IGoodsLowerClassifyService {

    //绑定一个一级分类
    boolean insertGoodsLowerClassify(GoodsLowerClassify goodsLowerClassify);


    //修改特殊一级分类
    boolean updateGoodsLowerClassify(GoodsLowerClassifyDTO dto);


    //逻辑删除当前特殊分类
    boolean deleteGoodsLowerClassify(Long id );


    //点击一级分类显示 当前特殊分类
    List<GoodsLowerClassify> listGoodsLowerClassify(Long classId);

    //后台显示二级分类
    List<GoodsLowerClassify> listAll(PageDomain pageDomain);

    //点击一级分类显示 当前特殊分类
    List<GoodsLowerClassifyVO> listGoodsLowerClassifyVO(Long classId);
    //增加
    boolean addGoodsLowerClassify(GoodsLowerClassifyDTO goodsLowerClassify);
}
